{include file="public/header"}
<title>经纪人名片</title>
<link rel="stylesheet" type="text/css" href="__CSS__/aui.css" />
<style>
    body {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        background-color:#F5F5F6;
    }
    .hidden{
        display: none;
    }
    /*头部*/

    .top {
        height: 60px;
        width: 100%;
        background: rgba(22, 26, 39, 1);
    }

    .top_box {
        width: 1200px;
        height: 100%;
        margin: 0 auto;
        align-items: center;
    }

    .top_name_left{
        width:38px;
        height:38px;
        background:rgba(52,99,230,1);
        border-radius:10px;
        margin-right: 10px;
    }

    .top_name {
        height: 60px;
        font-size: 24px;
        font-family: PingFangSC-Medium;
        font-weight: 500;
        color: rgba(255, 255, 255, 1);
        line-height: 60px;
    }

    .top_name_r {
        width: 76px;
        height: 30px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 1);
        margin-left: 26px;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    .top_name_r img {
        height: 16px;
        width: 16px;
    }

    .top_name_r span {
        height: 22px;
        line-height: 22px;
        font-size: 16px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        color: rgba(255, 255, 255, 1);
        margin-left: 3px;
    }

    .lii {
        height: 22px;
        font-size: 16px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        color: #84868D;
        line-height: 22px;
        margin-right: 24px;
    }

    .white {
        color: #fff;
    }

    .top_login {
        /*margin-left: 36px;*/
        display: flex;
        align-items: center;
    }

    .top_login img {
        width: 28px;
        height: 28px;
    }

    .top_login span {
        height: 22px;
        font-size: 16px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        color: rgba(255, 255, 255, 1);
        line-height: 22px;
        margin-left: 8px;
    }

    .top_marginR {
        margin-right: 16px;
    }
    /*头部*/
    /*footer2样式*/

    .footer2 {
        width: 100%;
        height: 168px;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0px -8px 20px 0px rgba(0, 0, 0, 0.04);
    }

    .footerint {
        width: 1200px;
        height: 100%;
        margin: 0 auto;
        position: relative;
    }

    .footer_word {
        padding-top: 20px;
        padding-left: 268px;
    }

    .footer_word span {
        width: 420px;
        height: 68px;
        font-size: 22px;
        font-family: PingFangSC-Medium;
        font-weight: 500;
        color: rgba(51, 51, 51, 1);
        line-height: 34px;
        margin-bottom: 25px;
    }

    .footer_js {
        height: 21px;
        font-size: 15px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        color: rgba(153, 153, 153, 1);
        line-height: 21px;
        margin-right: 25px;
    }

    .footer_ma {
        width: 120px;
        height: 120px;
        padding-top: 25px;
        padding-right: 75px;
    }

    .footer_ma img {
        width: 100%;
        height: 100%;
    }

    .footer_phone {
        width: 145px;
        height: 200px;
        position: absolute;
        bottom: 0;
        left: 94px;
        box-shadow: 0px 18px 20px 0px rgba(0, 0, 0, 0.08);
    }

    .footer_phone img {
        width: 100%;
        height: 100%;
    }

    .footer_del {
        width: 16px;
        height: 16px;
        position: absolute;
        top: 17px;
        right: 3px;
    }

    .footer_del img {
        width: 100%;
        height: 100%;
    }
    /*footer2样式*/
    /*footer1样式*/

    .footer {
        width: 100%;
        height: 130px;
        background: rgba(31, 31, 31, 1);
        display: flex;
        align-items: center;
    }

    .footer_in {
        width: 1210px;
        margin: 0 auto;
        height: 18px;
        font-size: 13px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        color: rgba(153, 153, 153, 1);
        line-height: 18px;
    }
    /*footer1样式*/

    /*内容*/

    .outer {
        width: 1200px;
        margin: 0 auto;
        background-color: #fff;
        padding:40px 40px 100px 40px;
        box-sizing: border-box;
    }

    /*内容*/
    .bar{
        width:1200px;
        height:57px;
        align-items:center;
        margin: 0 auto;
        font-size:12px;
        color:#999999;
    }
    .right_arrow{
        width:14px;
        height:14px;
        margin-left:6px;
        margin-right:6px;
    }
    .person{
        padding-bottom:60px;
        border-bottom:1px solid #EDEDED;
    }
    .avatar{
        width:140px;
        height:181px;
        border-radius:4px;
        margin-right:28px;
        object-fit: cover;
    }
    .name{
        font-size:28px;
        font-weight:500;
        color:rgba(51,51,51,1);
        margin-bottom:24px;
    }
    .intro{
        font-size:14px;
        font-weight:400;
        color:rgba(51,51,51,1);
        margin-bottom:18px;
    }
    .intro1{
        color:rgba(102,102,102,1);
        padding-left:14px;
    }
    .intro2{
        padding-right:30px;
    }
    .labelll{
        margin-bottom:14px;
    }
    .label{
        display: inline-block;
        padding:6px 17px;
        background:rgba(235,250,242,0.6);
        border-radius:4px;
        font-size:13px;
        font-weight:400;
        color:rgba(106,182,144,1);
        margin-right:10px;
    }
    .phone{
        width:252px;
        height:46px;
        background:rgba(106,182,144,1);
        border-radius:4px;
        font-size:22px;
        font-weight:600;
        color:rgba(255,255,255,1);
        align-items: center;
        margin-right:8px;
    }
    .call{
        width:22px;
        height:22px;
        margin-right:3px;
    }
    .message{
        width:121px;
        height:46px;
        background:rgba(235,250,242,0.6);
        border-radius:4px;
        border:1px solid rgba(106,182,144,1);
        font-size:14px;
        font-weight:400;
        color:rgba(106,182,144,1);
        align-items: center;
        cursor: pointer;
    }
    .mes{
        width:18px;
        height:18px;
    }
    .tit{
        font-size:23px;
        font-weight:500;
        color:rgba(51,51,51,1);
        padding-top:60px;
        padding-bottom:20px;
    }
    .mintro{
        font-size:14px;
        font-weight:400;
        color:rgba(51,51,51,1);
        line-height:24px;
        padding-bottom:80px;
    }
    .tit2{
        font-size:23px;
        font-weight:500;
        color:rgba(51,51,51,1);
        margin-bottom:20px;
    }
    .item{
        height:62px;
        line-height:62px;
        font-size:23px;
        font-weight:500;
        color:rgba(51,51,51,1);
        cursor: pointer;
    }
    .item_active{
        color:rgba(106,182,144,1);
        border-bottom:3px solid #6AB690;
        border-radius:2px;
    }
    .item:nth-child(2n+1){
        margin-right:39px;
    }
    .titleee{
        margin-bottom:10px;
    }
    .titlee{
        height:60px;
        line-height:60px;
        font-size:16px;
        font-weight:400;
        color:rgba(51,51,51,1);
    }
    .titt1{
        width:144px;
    }
    .titt2{
        width:192px;
        text-align: center;
    }
    .titt3{
        width:192px;
        text-align: center;
    }
    .titt4{
        width:144px;
        text-align: center;
    }
    .titt5{
        width:208px;
        text-align: center;
    }
    .titt6{
        width:170px;
        text-align: center;
    }
    .titlee1{
        height:60px;
        line-height:60px;
        font-size:14px;
        font-weight:400;
        color:rgba(51,51,51,1);
        border-bottom:1px solid #EDEDED;
    }
    .box{
        margin-bottom:20px;
    }
    .commenter{
        font-size:16px;
        font-weight:400;
        color:rgba(51,51,51,1);
        align-items: center;
        margin-bottom:21px;
    }
    .cleft{
        margin-right:14px;
    }
    .star{
        width:20px;
        height:20px;
        margin-right:8px;
    }
    .rcomment{
        font-size:13px;
        font-weight:400;
        color:rgba(106,182,144,1);
        cursor: pointer;
    }
    .box11{
        padding-bottom:6px;
        border-bottom:1px solid #E0E0E0;
    }
    .card{
        height:30px;
        line-height:30px;
        border-bottom:2px solid #6AB690;
    }
    .choose{
        padding-left: 20px;
        padding-right: 20px;
        font-size:14px;
        font-weight:400;
        color:rgba(51,51,51,1);
        cursor: pointer;
    }
    .choose_active{
        background:rgba(106,182,144,1);
        color:rgba(255,255,255,1);
    }

    .con_li{
        height: 184px;
        /*width: 100%;*/
        display: flex;
        align-items: center;
        padding-bottom:40px;
    }
    .con_li > img{
        width: 245px;
        height: 100%;
    }
    .con_li > span{
        height:32px;
        font-size:26px;
        font-family:Helvetica-Bold;
        font-weight:bold;
        color:rgba(231,99,76,1);
    }
    .con_li_word{
        height: 100%;
        margin-left: 20px;
    }
    .con_li_top{
        height:24px;
        font-size:22px;
        font-family:PingFangSC-Medium;
        font-weight:500;
        color:rgba(51,51,51,1);
        line-height:24px;
        margin-bottom: 20px;
        cursor: pointer;
    }
    .con_li_ion{
        height:20px;
        font-size:14px;
        font-family:PingFangSC-Regular;
        font-weight:400;
        color:rgba(102,102,102,1);
        line-height:20px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }
    .con_li_ion_marginb{
        margin-bottom: 16px;
    }
    .con_li_ion > img{
        width: 16px;
        height: 16px;
        margin-right: 10px;
    }
    .con_li_label{
        margin-top: 32px;
        font-size:14px;
        font-weight:400;
        color:rgba(102,102,102,1);
        align-items: center;
    }
    .hot{
        padding:2px 4px;
        font-size:12px;
        font-weight:400;
        color:rgba(255,255,255,1);
        margin-right:5px;
        background:rgba(240,143,94,1);
        border-radius:2px;
    }
    /*列表的样式在这里*/
    .righttt{
        width: 1030px;
    }
    .price{
        font-size:14px;
        color:#E7634C;
        padding-top:33px;
        padding-bottom:20px;
        text-align:right;
    }
    .red{
        font-size:26px;
        font-weight:bold;
    }
    .one{
        padding-top:30px;
    }
    .cpoint{
        cursor: pointer;
    }
</style>

<body>
<!--hidden-->
{include file="public/wechat"}
<div class="container">
    <div class="bar flex-wrap">
        置家优选 <img src="__IMG__/right_arrow.png" class="right_arrow" />经纪人
    </div>

    <div class="outer">
        <div class="contents">
            <div class="person flex-wrap">
                <img src="{$data.user_image}" class="avatar">
                <div class="flex-con">
                    <div style="float: right;width:205px;height: 170px;margin-top: 0;text-align: center;">
                        <img src="{$data.user_ercode}" width="100" height="100" />
                        <div style="line-height: 20px;height: 20px;font-size: 16px;text-align: center;width: 200px;">微信扫码打电话</div>
                        <div style="line-height: 30px;height: 30px;font-size: 14px;text-align: center;width: 200px;color:gray;">扫码失败可拨打</div>
                        <div style="line-height: 20px;height: 20px;font-size: 18px;text-align: center;width: 200px;color: orange;">{$jjrPhone}</div>
                    </div>
                    <div class="name">{$data.user_username}<span style="font-size: 16px">（{$data.user_shop}）</span></div>
                    <div class="intro flex-wrap">
                        <div>历史成交(套):<span class="intro1 intro2">{$data.user_chengjiao}</span></div>
                        <div>服务客户(次):<span class="intro1 intro2">{$data.user_fuwu}次</span></div>
                        <div>客户评价(分):<span class="intro1">{$data.user_fen}</span></div>
                    </div>
                    <div class="labelll">
                        {volist name="$data.user_signs_3" id='s'}
                        <div class="label">{$s}</div>
                        {/volist}
                    </div>

                    <div class="flex-wrap">

                        <div class="message flex-wrap" onclick="gettalk({$data.user_id});">
                            <div class="flex-con"></div>
                            <img src="__IMG__/message.png" class="mes">
                            <div>在线沟通</div>
                            <div class="flex-con"></div>
                        </div>

                    </div>
                </div>
            </div>
            <div class="tit">经纪人介绍</div>
            <div class="mintro">{$data.user_content_3}</div>
            <div class="titleee flex-wrap">
                <div class="item item_active">最近买卖成交</div>
                <div class="item">最近租赁成交</div>
            </div>
            <div class="box mm_house">
                <div class="titlee flex-wrap">
                    <div class="titt1">房屋信息</div>
                    <div class="titt2">楼层</div>
                    <div class="titt3">面积</div>
                    <div class="titt4">签约时间</div>
                    <div class="titt5">成交价</div>
                    <div class="titt6">单价</div>
                </div>
                {volist name="maihouse" id='mm'}
                <div class="titlee1 flex-wrap">
                    <div class="titt1">{$mm.h_xiaoqu}</div>
                    <div class="titt2">{$mm.h_shis}室{$mm.h_tings}厅  {$mm.h_floor}层</div>
                    <div class="titt3">{$mm.h_mianji}m²</div>
                    <div class="titt4">{$mm.h_done_time|substr=0,10}</div>
                    <div class="titt5">{$mm.h_price}万</div>
                    <div class="titt6">{$mm.h_unit_price}元/m²</div>
                </div>
                {/volist}
            </div>
            <div class="box zu_house hidden">
                <div class="titlee flex-wrap">
                    <div class="titt1">房屋信息</div>
                    <div class="titt2">楼层</div>
                    <div class="titt3">面积</div>
                    <div class="titt4">签约时间</div>
                    <div class="titt5">成交价</div>
                    <div class="titt6">租金</div>
                </div>
                {volist name="zuhouse" id='mm'}
                <div class="titlee1 flex-wrap">
                    <div class="titt1">{$mm.h_xiaoqu}</div>
                    <div class="titt2">{$mm.h_shis}室{$mm.h_tings}厅  {$mm.h_floor}层</div>
                    <div class="titt3">{$mm.h_mianji}m²</div>
                    <div class="titt4">{$mm.h_done_time|substr=0,10}</div>
                    <div class="titt5">{$mm.h_price}元</div>
                    <div class="titt6">{$mm.h_price}元</div>
                </div>
                {/volist}
            </div>
            <div class="box">
                <div class="tit flex-wrap">
                    <div class="flex-con">客户评价</div>
                    <div class="rcomment" onclick="location.href='{:url('home/Economic/allComm')}?uid={$data['user_id']}'">查看全部评价</div>
                </div>
                <div class="box11">
                    {volist name="usercomment" id='uc'}
                    <div class="commenter flex-wrap">
                        <div class="cleft">{$uc.user_username}</div>
                        <img src="__IMG__/star{if $uc.uc_star >= 1}3{else /}1{/if}.png" class="star">
                        <img src="__IMG__/star{if $uc.uc_star >= 2}3{else /}1{/if}.png" class="star">
                        <img src="__IMG__/star{if $uc.uc_star >= 3}3{else /}1{/if}.png" class="star">
                        <img src="__IMG__/star{if $uc.uc_star >= 4}3{else /}1{/if}.png" class="star">
                        <img src="__IMG__/star{if $uc.uc_star >= 5}3{else /}1{/if}.png" class="star">
                        <div class="flex-con"></div>
                        <div class="time">{$uc.uc_time|substr=0,10}</div>
                    </div>
                    <div class="labelll">
                        {volist name="$uc.uc_signs" id='us'}
                        <div class="label">{$us}</div>
                        {/volist}
                    </div>
                    {/volist}
                </div>
                <div class="tit">TA的房源</div>
                <div class="card flex-wrap">
                    <div class="choose choose_active">新房</div>
                    <div class="choose">二手房</div>
                    <div class="choose">租房</div>
                </div>
                <div class="one">
                    {volist name="h_type3" id='h'}
                    <div class="con_li">
                        <img class="cpoint" src="{$h.h_img}" alt="" onclick="godetail({$h.h_id});">
                        <div class="con_li_word flex-con">
                            <div class="con_li_top" onclick="godetail({$h.h_id});">
                                {$h.h_title}
                            </div>
                            <div class="flex-wrap">
                                <div class="flex-con">
                                    <div class="con_li_ion">
                                        <img src="__IMG__/ion2.png" alt="">
                                        <span>{$h.district}/{$h.h_xiaoqu}</span>
                                    </div>
                                    <div class="con_li_ion con_li_ion_marginb">
                                        <img src="__IMG__/home.png" alt="">
                                        <span>{$h.h_shis}室{$h.h_tings}厅</span>
                                    </div>
                                    <div class="con_li_ion">
                                        <img src="__IMG__/area.png" alt="">
                                        <span>{$h.h_mianji}m² </span>
                                    </div>
                                    <div class="con_li_label flex-wrap">
                                        {if $h.h_hot_title}
                                        <div class="hot">热</div>
                                        <div>{$h.h_hot_title}</div>
                                        {/if}
                                    </div>
                                </div>
                                <div>
                                    <div class="price"><span class="red">{$h.h_price}</span>万</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    {/volist}
                </div>
                <div class="one hidden">
                    {volist name="h_type2" id='h'}
                    <div class="con_li">
                        <img class="cpoint" src="{$h.h_img}" alt="" onclick="godetail({$h.h_id});">
                        <div class="con_li_word flex-con">
                            <div class="con_li_top" onclick="godetail({$h.h_id});">
                                {$h.h_title}
                            </div>
                            <div class="flex-wrap">
                                <div class="flex-con">
                                    <div class="con_li_ion">
                                        <img src="__IMG__/ion2.png" alt="">
                                        <span>{$h.district}/{$h.h_xiaoqu}</span>
                                    </div>
                                    <div class="con_li_ion con_li_ion_marginb">
                                        <img src="__IMG__/home.png" alt="">
                                        <span>{$h.h_shis}室{$h.h_tings}厅</span>
                                    </div>
                                    <div class="con_li_ion">
                                        <img src="__IMG__/area.png" alt="">
                                        <span>{$h.h_mianji}m² </span>
                                    </div>
                                    <div class="con_li_label flex-wrap">
                                        {if $h.h_hot_title}
                                        <div class="hot">热</div>
                                        <div>{$h.h_hot_title}</div>
                                        {/if}
                                    </div>
                                </div>
                                <div>
                                    <div class="price"><span class="red">{$h.h_price}</span>万</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    {/volist}
                </div>
                <div class="one hidden">
                    {volist name="h_type1" id='h'}
                    <div class="con_li">
                        <img class="cpoint" src="{$h.h_img}" alt="" onclick="godetail({$h.h_id});">
                        <div class="con_li_word flex-con">
                            <div class="con_li_top" onclick="godetail({$h.h_id});">
                                {$h.h_title}
                            </div>
                            <div class="flex-wrap">
                                <div class="flex-con">
                                    <div class="con_li_ion">
                                        <img src="__IMG__/ion2.png" alt="">
                                        <span>{$h.district}/{$h.h_xiaoqu}</span>
                                    </div>
                                    <div class="con_li_ion con_li_ion_marginb">
                                        <img src="__IMG__/home.png" alt="">
                                        <span>{$h.h_shis}室{$h.h_tings}厅</span>
                                    </div>
                                    <div class="con_li_ion">
                                        <img src="__IMG__/area.png" alt="">
                                        <span>{$h.h_mianji}m² </span>
                                    </div>
                                    <div class="con_li_label flex-wrap">
                                        {if $h.h_hot_title}
                                        <div class="hot">热</div>
                                        <div>{$h.h_hot_title}</div>
                                        {/if}
                                    </div>
                                </div>
                                <div>
                                    <div class="price"><span class="red">{$h.h_price}</span>/月</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    {/volist}
                </div>

            </div>
        </div>

    </div>
</div>
{include file="public/foot1"}

</body>
</html>
<script src="/static/admin/js/jquery.min.js"></script>
<script>
    //-------------------跳转到详情----------------------
    function godetail(hid) {
        window.location.href = '/home/Index/houseInfo?h_id='+hid;
    }
    //-----------------------end------------------
    $('.item').click(function () {
        $('.item').removeClass('item_active');
        $(this).addClass('item_active');
        var i = $(this).index();
        if(i == 0){
            $('.mm_house').removeClass('hidden');
            $('.zu_house').addClass('hidden');
        }else{
            $('.mm_house').addClass('hidden');
            $('.zu_house').removeClass('hidden');
        }
    });
    $('.choose').click(function () {
        $('.choose').removeClass('choose_active');
        $(this).addClass('choose_active');
        var i = $(this).index();
        $('.one').addClass('hidden');
        $('.one').eq(i).removeClass('hidden');
    });
</script>
